package com.newer.service.lmpl;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.newer.dto.SupplierDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.newer.domain.Inventory;
import com.newer.mapper.InventoryMapper;
import com.newer.service.InventoryService;

import java.util.List;

@Service
public class InventoryServiceImpl extends ServiceImpl<InventoryMapper, Inventory> implements InventoryService{

    @Autowired
    InventoryMapper inventoryMapper;

    @Override
    public Page<Inventory> PageInventorysAll(Page page,String uname) {

      return  this.inventoryMapper.selectAllInventory(page,uname);



    }

}
